<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>{:session('cp.cpsysname')}--商户管理平台</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <meta name="description" content="{:config('webconfig.description');}">
    <meta name="keywords" content="{:config('webconfig.keywords');}">
    <meta name="author" content="runoob">
    <link rel="stylesheet" href="__STATIC_URL__/static/css/bootstrap.css">
    <link rel="stylesheet" type="text/css" href="__STATIC_URL__/static/css/index.css"/>
    <script src="__STATIC_URL__/static/js/jquery-2.1.4.min.js"></script>
    <script src="__STATIC_URL__/static/bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <script src="__STATIC_URL__/static/js/commen.js" type="text/javascript" charset="utf-8"></script>
    <style>
        thead tr th{
            text-align: center;
        }
        tbody tr td{
            text-align: center;
        }
    </style>
</head>
<body>
{include file='public/header'/}
<!------------------导航-------------------------->
<section id="content">
    {include file='public/left'/}
    <!--------------------------主要内容区域------------------------------------->
    <div class="content" >
        <div class="page-heading mgl15 mgr15">
            <!--路径导航-->
            <ol class="breadcrumb">
                <li>当前位置是:</li>
                <li>
                    <a href="{:url('alicards/cardinfoali',['card_id'=>$card['card_id']])}">会员卡</a>
                </li>
                <li class="active">等级列表</li>
            </ol>
        </div>

        <div class="panel mgl15 mgr15" >
            <div class="panel-heading addCharts" style="background:#ededed;overflow: hidden;line-height: 32px;">等级列表
                {if condition="checkPath('alicards/rankaddali')"}
                <a href="{:url('alicards/rankaddali',['card_id'=>$card['card_id']])}" class="btn btn-info" style="float: right">添加等级</a>
                {/if}
            </div>
            <div class="panel-body">
            <table class="table table-bordered" data-toolbar="#toolbar">
                <thead>
                <tr>
                    <th>等级</th>
                    <th>所需积分</th>
                    <th>所享优惠</th>
                    <th>创建时间</th>
                    <th>操作</th>

                </tr>
                </thead>
                <tbody>
                {volist name="list" id="vo"}
                    <tr>
                        <td>{$vo.live}</td>
                        <td>{$vo.bonus}</td>
                        <td>{$vo.welfare}</td>
                        <td>{$vo.create_time}</td>
                        <td class="chakan">
                            {if condition="checkPath('alicards/rankeditali')"}
                            <a href="{:url('alicards/rankeditali',['id'=>$vo['id'],'card_id'=>$vo['card_id']])}">修改</a>
                            {/if}
                            {if condition="checkPath('alicards/rankdelali')"}
                            <a href="{:url('alicards/rankdelali',['id'=>$vo['id'],'card_id'=>$vo['card_id']])}">&nbsp;|&nbsp;&nbsp;删除</a>
                            {/if}
                        </td>
                    </tr>
                {/volist}
                </tbody>
            </table>
            </div>
        </div>
        {include file='public/footer'/}
    </div>
</section>
</body>


</html>
